{extend name="default/template/base_index" /}

{block name="area_header"}
<link rel="stylesheet" type="text/css" media="all" href="__PUBLIC__/../distpacker/css/main.css">
<script src="__PUBLIC__/../distpacker/js/distpicker.js"></script>
{/block}

{block name="area_body"}
	{include file="default/Widget/topbar" /}
	<div class="admin-main container-fluid">
		{include file="default/Widget/left" /}
		<div class="admin-main-content">
			{include file="default/Widget/breadcrumb" /}
			<div class="table-responsive well">
	<!-- 过滤\查询按钮 -->
	<div class="filter-controls">
		<form action="{:url('Atf/index')}" class="memberForm form-inline" method="post">
			<div class="form-group">
				<label class="control-label">姓名</label>
				<div class="input-group">
					<input class="form-control" value="{$name}" type="text" name="name" placeholder="请输入用户姓名" />
				</div>
			</div>
			<div class="form-group">
				<label class="control-label">手机号</label>
				<div class="input-group">
					<input class="form-control" value="{$tel}" type="text" name="tel" placeholder="请输入用户手机号" />
				</div>
			</div>
			<div class="form-group">
				<label class="control-label">&nbsp;</label>
				<div class="input-group">
					<button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>查询</button>
				</div>
			</div>

		</form>
	</div>


	<table class="table table-striped table table-hover  table-condensed">
		<thead>
			<tr>
				<th>
					姓名
				</th>
				<th>
					微信号
				</th>
				<th>
					手机号
				</th>
				<th>
					地址
				</th>
				<th>
					房屋样式
				</th>
				<th>
					房屋状态
				</th>

			</tr>
		</thead>
		<tbody>
			{empty name="list"}
				<tr>
					<td colspan="8" class="text-center">{:L('NO_DATA')}</td>
				</tr>
				{else/}
				{volist name="list" id="vo"}
					<tr>
						<td>
								{$vo.name|default='--'}
						</td>
						<td>{$vo.wxid}</td>
						<td>{$vo.tel}</td>
						<td>{$vo.addr}</td>
						<td>{$vo.home_style}</td>
						<td>{$vo.home_type}</td>
					</tr>
				{/volist}
			{/empty}
		</tbody>
	</table>
	<div>{$show}</div>
</div>
		</div>
		<!-- END admin-main-content -->
	</div>
		<!-- END admin-main-->
{/block}

{block name="area_footer"}

{/block}
